mini-os: convert mlock macros to C functions
authorOlaf Hering <olaf@aepfle.de>
Tue, 31 Jan 2012 11:33:35 +0000 (11:33 +0000)
committerOlaf Hering <olaf@aepfle.de>
Tue, 31 Jan 2012 11:33:35 +0000 (11:33 +0000)
commitb9933931b573a01d8fd4525a185c7fa858c44461
treed1e000d2912caf57db669e76dc52596fd6999e98
parente47ceecc301c3d1123aaf2c6d95f214a6dda4e81
mini-os: convert mlock macros to C functions

mlock and munlock are implemented as macros in mini-os. Their usage
requires casting in common code.  Convert them to C syntax and provide
an empty dummy function.  Remove the now unneeded (void) cast from two
munlock calls.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
extras/mini-os/include/posix/sys/mman.h
tools/libxc/xc_linux_osdep.c
tools/libxc/xc_mem_paging.c